// JavaScript Document
function check_avaiable()
{
	var coursename = document.forms['createcourse']['coursename'].value;
	var description = document.forms['createcourse']['description'].value;
	var startdate = document.forms['createcourse']['startdate'].value;	
	var duration = document.forms['createcourse']['duration'].value;	
	
	if(coursename==null||coursename==""||description==null||description==""||startdate==null||startdate==""||duration==null||duration=="")
	{
		alert('ban phai dien day du thong tin');
		return false;
	}
}